package com.edushare.common.util;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

public class ByteHelperClass {/*
	
	private static Log log = LogFactory.getLog(ByteHelperClass.class);
	
	public static byte[] convert(byte [] settings){		
//		byte[] newSettings = settings.clone();
//		new
		byte[] newSettings = new byte[4];
		int i = 0;
		for(byte b:settings){
			newSettings[i++]=b;
		}
		//log.debug("Old Setting: "+settings +", new Settings: "+newSettings.toString());
		log.debug("Old Setting: "+settings[0]+" "+settings[1]+" "+
				settings[2]+" "+settings[3]);
		log.debug("New Setting: "+newSettings[0]+" "+newSettings[1]+" "+
				newSettings[2]+" "+newSettings[3]);
//		System.arraycopy(settings, 0, newSettings, 0, settings);
		return newSettings;		
	}
*/}
